<?php
namespace app\api\controller;


/**
 * @title 合作新闻
 * @description 接口说明
 * @group api
 * @header name:authorization require:1 default: desc:登陆的token
 */
class PartnerNews extends Base
{
    protected $_order = 'id desc';

    /**
     * @title 获取
     * @description 接口说明
     * @author hardy
     * @url /api/PartnerNews
     * @method GET
     *
     * @return content:新闻内容
     */
    public function gets()
    {
        $this->getOne(1, $this->controller);
    }
}